package com.mrjy.search.bo;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;

import com.mrjy.common.entity.HotSearchKeywords;

public interface ISearchBo {

	Object importSolr();
	
	Object listSearchHistory(HttpSession session);

	Object doSearch(String q,Integer type,Integer page, Integer rows, HttpServletRequest request,
			HttpServletResponse response,HttpSession session);

	Object txDeleteSearchHistory(HttpSession session, Integer index);

	Object listHotSearch(HttpSession session);

	Object queryPage(HttpSession session, HotSearchKeywords keywords);

	Object txInsertHotSearch(HttpSession session, HotSearchKeywords keywords);
	
	Object txUpdateHotSearch(HttpSession session, HotSearchKeywords keywords);

	Object txUpdateDisableFlag(HttpSession session, HotSearchKeywords keywords);

	Object txDeleteHotSearch(HttpSession session, HotSearchKeywords keywords);

	Object exportExl(HttpSession session, HttpServletResponse response, HotSearchKeywords keywords);



}
